<?php
namespace Zaya\Lib\SSO;

abstract class Base
{
    /**
     * Generate session id from session token
     * @param $command
     * @param $clientToken
     * @param $clientSecret
     * @return string
     */
    protected function generateChecksumSub($command, $clientToken, $clientSecret)
    {
        return hash('sha256', $command . $clientToken . $clientSecret);
    }
}
